package com.e0box.game.logicGraphics
{
	import flash.geom.Point;
	import flash.geom.Rectangle;

	public class Options
	{
		public function Options()
		{
			throw new Error("Cant instance the static class 'Options'.");
		}
		
		public static const STAGE_WIDTH:uint = 640;
		public static const STAGE_HEIGHT:uint = 960;
		public static const DEBUG:Boolean = true;
		
		public static const TILE_SIZE:uint = 35;
//		public static const TILE_HEIGHT:uint = TILE_WIDTH;
		
//		public static const GAP:uint = 2;
//		public static const STEP_GAP:uint = TILE_WIDTH + GAP;
		
		public static const GAME_WIDTH_COUNT:uint = 12;
		public static const GAME_HEIGHT_COUNT:uint = 16;
		
		public static const RISE_STEP:uint = 60;
		public static const MIN_RISE_STEP:uint = 20;
		
		public static const GAME_RECTANGLE:Rectangle = new Rectangle(0,0,GAME_WIDTH_COUNT,GAME_HEIGHT_COUNT);
		
		public static const INPUT_WIDTH_COUNT:uint = 3;
		public static const INPUT_HEIGHT_COUNT:uint = 3;
		public static const SURVIVE_MIN_STEP:Number = 0.2;
		public static const POWER_SHAKE_LIMIT:uint = 5;
		
		public static const REMOVE_ANIMATION_DURATION:Number = .15;
		public static const CUBE_ANIMATION_DURATION:Number = .3;
		
		public static const TOUCH_TILE_WIDTH:uint = int(STAGE_WIDTH / 5);
		public static const TOUCH_TILE_HEIGHT:uint = int(STAGE_WIDTH / 5);
		
		public static const GAME_BG_ASSET:String = "bg";
		public static const LOADING_ASSET:String = "loading";
		public static const HAND_ASSET:String = "hand";
		//public static const GAME_BOUNDARY_ASSET:String = "boundary";
		
		public static const REMOVE_LINE_ANIMATION_PRE:String = "removeAnimation";
		public static const MAIN_HIGH_LIGHT:String = "mainHighLight";
		
		public static const TILE_TEXTURE_PRE:String = "style1_";
		
		public static const TOUCH_POWER_ARRAY:Array = [[1,2,3],[4,5,6],[7,8,9]];
		public static const TOUCH_POWER_PRE:String = "uiBonus";
		
		public static const TOUCH_NORMAL:String = "touchNormal";
		public static const TOUCH_TOUCH:String = "touchTouch";
		public static const TOUCH_MATCH:String = "touchMatch";
		public static const TOUCH_HIGH_LIGHT:String = "touchHighLight";
		
		public static const STATE_NORMAL_SKIN:String = "stateNormalButton";
		public static const STATE_TIME_SKIN:String = "stateTimeButton";
		public static const STATE_SURVIVE_SKIN:String = "stateSurviveButton";
		public static const STATE_MENU_BG:String = "stateBg";
		public static const STATE_TITLE:String = "stateTitle";
		
		public static const NORMAL_ICON_BG:String = "normalIconBg";
		public static const NORMAL_ICON:String = "normalIcon";
		public static const TIME_ICON_BG:String = "timeIconBg";
		public static const TIME_ICON:String = "timeIcon";
		public static const SURVIVE_ICON_BG:String = "surviveIconBg";
		public static const SURVIVE_ICON:String = "surviveIcon";
		
		public static const CLOSE_BUTTON_SKIN:String = "stateCloseButton";
		
		public static const POWER_NORMAL_BAR_COLOR:uint = 0x04b7b5;
		public static const POWER_TIME_BAR_COLOR:uint = 0x04b7b5;
		public static const POWER_SURVIVE_BAR_COLOR:uint = 0x04b7b5;
		public static const POWER_BAR_SHAKE_COLOR:uint = 0xe82d51;
		
		public static const POWER_BAR_BG_ASSET:String = "powerBarBg";
		
		public static const POWER_NUMBER_PER:String = "p";
		public static const POWER_NUMBER_COUNT:uint = 3;
		
		public static const MAIN_BG_ASSET:String = "mainBg";
		public static const MAIN_NEW_BUTTON:String = "mainNewButton";
		public static const MAIN_CONTINUE_BUTTON:String = "mainContinueButton";
		public static const MAIN_TOP_BUTTON:String = "mainTopButton";
		//public static const MAIN_LOGO:String = "mainLogo";
		
		public static const PAUSE_MENU_BG:String = "pauseBg";
		public static const PAUSE_CONTINUE_BUTTON:String = "pauseContinueButton";
		public static const PAUSE_BACK_BUTTON:String = "pauseBackButton";
		public static const PAUSE_MUTE_OPEN:String = "pauseMuteOpen";
		public static const PAUSE_MUTE_CLOSE:String = "pauseMuteClose";
		
		public static const MESSAGE_BG:String = "messageBg";
		public static const MESSAGE_CLOSE:String = "messageClose";
		public static const MESSAGE_CONFIRM:String = "messageConfirm";
		public static const MESSAGE_CANCEL:String = "messageCancel";
		public static const MESSAGE_YES:String = "messageYes";
		public static const MESSAGE_NO:String = "messageNo";
		
		/*public static const TOP_BG:String = "topBg";
		public static const TOP_COMFIRM:String = "topConfirm";
		public static const TOP_GAME_CENTER:String = "topGameCenter";
		public static const TOP_STATE_NORMAL:String = "topStateNormal";
		public static const TOP_STATE_TIME:String = "topStateTime";
		public static const TOP_STATE_SURVIVE:String = "topStateSurvive";*/
		
		public static const TOP_BG:String = "pauseBg";
		public static const TOP_COMFIRM:String = "messageConfirm";
		public static const TOP_GAME_CENTER:String = "messageClose";
		public static const TOP_STATE_NORMAL:String = "s2";
		public static const TOP_STATE_TIME:String = "s3";
		public static const TOP_STATE_SURVIVE:String = "s4";
		
		public static const ACTIVE_EXTRA_SKIN_PRE:String = "extra";
		//public static const INACTIVE_EXTRA_SKIN_PRE:String = "extra";
		public static const INACTIVE_EXTRA_SKIN_PRE:String = "unextra";
		public static const BOUNDARY_SKIN_PRE:String = "boundary";
		
		
		public static const SCORE_COUNT:uint = 8;
		public static const SCORE_PRE:String = "s";
		
		//public static const RISE_COUNT:uint = 10;
		
		public static const ENERGY_BG:String = "uiBonusBg";
		public static const ENERGY_FG:String = "uiBonus";
		public static const ENERGY_ENTITY_PER:String = "uiBonus";
		
		public static const PAUSE_BUTTON:String = "uiPause";
		
		public static const STATE_TIME_LIMIT:uint = 120;
		
		public static const REVERT_ENERGY_DELAY:uint = 30;
		
		public static const REVERT_TIME_STATE_DELAY:uint = 86400;
		public static const REVERT_SURVIVE_STATE_DELAY:uint = 86400;
		
		public static const ENERGY_LIMIT:uint = 500;
		
		public static const NORMAL_START_ENERGY:uint = 50;
		public static const NORMAL_ENERGY_LIMIT:uint = 100;
		
		public static const SOUND_CUBE_DOWN:String = "cubeDown";
		public static const SOUND_TOUCH_MATCH:String = "touchMatch";
		public static const SOUND_REMOVE_CUBE:String = "removeCube";
		public static const SOUND_REMOVE_LINE:String = "removeLine";
		public static const SOUND_REMOVE_LINES:String = "removeLines";
		public static const SOUND_POWER_FULL:String = "powerFull";
		public static const SOUND_POWER_MATCH:String = "powerMatch";
		public static const SOUND_POWER_RELEASE:String = "powerRelease";
		
		public static const SOUND_MAIN_RISE:String = "mainRise";
		public static const SOUND_GAME_OVER:String = "gameOver";
		public static const SOUND_TIME_OUT:String = "timeOut";
		public static const SOUND_TIME_OVER:String = "timeOver";
		
		public static const SOUND_MAIN_BG:String = "soundMainBg";
		public static const SOUND_NORMAL_BG:String = "soundNormalBg";
		public static const SOUND_TIME_BG:String = "soundTimeBg";
		public static const SOUND_SURVIVE_BG:String = "soundSurviveBg";
		
		public static var volume:Number = 0.5;
		public static var bgVolume:Number = 0.3;
		
		public static const ADMOB_ANDROID_ID:String = "a152bd4e7a0badf";
		public static const ADMOB_IOS_ID:String = "a152bd50fa42611";
		public static const ADMOB_KEY:String = "k0fb13b70ae8339fbb3540f75f1ee33e";
		
		public static var activePoint:Point = new Point();
		public static var activeRect:Rectangle = new Rectangle();
		
		public static var fullScreenWidth:uint;
		public static var fullScreenHeight:uint;
		
		public static var active9Grid:Vector.<Vector.<uint>>;
		
		public static var isIos:Boolean;
		
		public static const LANG_INPUT_NAME_TITLE:String = "inputNameTitle";
		public static const LANG_INPUT_NAME_MSG:String = "inputNameMsg";
		public static const LANG_USER_NAME_PROMPT:String = "userNamePrompt";
		
		public static const LANG_FINISH_GAME_CONFIRM_TITLE:String = "finishGameConfirmTitle";
		public static const LANG_FINISH_GAME_CONFIRM_MSG:String = "finishGameConfirmMsg";
		
		public static const LANG_STATE_NORMAL_DELAY_TITLE:String = "stateNormalDelayTitle";
		public static const LANG_STATE_NORMAL_DELAY_MSG:String = "stateNormalDelayMsg";
		public static const LANG_STATE_NORMAL_DELAY_MSG_WITH_PURCHASE:String = "stateNormalDelayMsgWithPruchase";
		public static const LANG_STATE_NORMAL_DELAY_MSG_WITH_RESTORE:String = "stateNormalDelayMsgWithRestore";
		
		public static const LANG_STATE_TIME_DELAY_TITLE:String = "stateTimeDelayTitle";
		public static const LANG_STATE_TIME_DELAY_MSG:String = "stateTimeDelayMsg";
		public static const LANG_STATE_TIME_DELAY_MSG_WITH_PURCHASE:String = "stateTimeDelayMsgWithPruchase";
		public static const LANG_STATE_TIME_DELAY_MSG_WITH_RESTORE:String = "stateTimeDelayMsgWithRestore";
		
		public static const LANG_STATE_SURVIVE_DELAY_TITLE:String = "stateSurviveDelayTitle";
		public static const LANG_STATE_SURVIVE_DELAY_MSG:String = "stateSurviveDelayMsg";
		public static const LANG_STATE_SURVIVE_DELAY_MSG_WITH_PURCHASE:String = "stateSurviveDelayMsgWithPruchase";
		public static const LANG_STATE_SURVIVE_DELAY_MSG_WITH_RESTORE:String = "stateSurviveDelayMsgWithRestore";
		
		public static const LANG_CANT_RECEIVE_PRODUCT_TITLE:String = "cantReceiveProductTitle";
		public static const LANG_CANT_RECEIVE_PRODUCT_MSG:String = "cantReceiveProductMsg";
		
		/*public static const LANG_PURCHASE_TITLE:String = "purchaseTitle";
		public static const LANG_PURCHASE_MSG:String = "purchaseMsg";
		
		public static const LANG_RESTORE_TITLE:String = "restoreTitle";
		public static const LANG_RESTORE_MSG:String = "restoreMsg";*/
		
		public static const LANG_RESTORE_SUCCESS_TITLE:String = "restoreSuccessTitle";
		public static const LANG_RESTORE_SUCCESS_MSG:String = "restoreSuccessMsg";
		
		public static const LANG_RESTORE_FAIL_TITLE:String = "restoreFailTitle";
		public static const LANG_RESTORE_FAIL_MSG:String = "restoreFailMsg";
		
		public static const LANG_RESTORE_COMPLETE_TITLE:String = "restoreCompleteTitle";
		public static const LANG_RESTORE_COMPLETE_MSG:String = "restoreCompleteMsg";
		
		public static const LANG_BUY_SUCCESS_TITLE:String = "buySuccessTitle";
		public static const LANG_BUY_SUCCESS_MSG:String = "buySuccessMsg";
		
		public static const LANG_PURCHASE_CANCEL_TITLE:String = "purchaseCancelTitle";
		public static const LANG_PURCHASE_CANCEL_MSG:String = "purchaseCancelMsg";
		
		public static const LANG_PURCHASE_FAIL_TITLE:String = "purchaseFailTitle";
		public static const LANG_PURCHASE_FAIL_MSG:String = "purchaseFailMsg";
		
		
		public static const TIPS:Array = ["pauseTip1",
			"pauseTip2",
			"pauseTip3",
			"pauseTip4",
			"pauseTip5",
			"pauseTip6",
			"pauseTip7",
			"pauseTip8",
			"pauseTip9",
			"pauseTip10",
			"pauseTip11",
			"pauseTip12",
			"pauseTip13",
			"pauseTip14"];
		
		
		
		
		
		
		
		
		
		public static const TILE_SKIN_BLANK:String = "uiBonus7";
		public static const TILE_SKIN_FLAG:String = "uiBonus4";
	}
}